	.file	1 "../utiles.c"
	.section .mdebug.abi32
	.previous
	.abicalls
	.rdata
	.align	2
$LC0:
	.ascii	"Fallo la obtencion de memoria\n\000"
	.text
	.align	2
	.globl	readQuantity
	.ent	readQuantity
readQuantity:
	.frame	$fp,56,$31		# vars= 16, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,56
	.cprestore 16
	sw	$31,48($sp)
	sw	$fp,44($sp)
	sw	$28,40($sp)
	move	$fp,$sp
	sw	$4,56($fp)
	sw	$5,60($fp)
	sw	$6,64($fp)
	sw	$0,24($fp)
	lw	$4,56($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,28($fp)
$L18:
	lb	$3,28($fp)
	li	$2,-1			# 0xffffffffffffffff
	beq	$3,$2,$L19
	lw	$2,56($fp)
	lhu	$2,12($2)
	srl	$2,$2,5
	andi	$2,$2,0x1
	bne	$2,$0,$L19
	lw	$2,24($fp)
	lw	$3,64($fp)
	slt	$2,$2,$3
	bne	$2,$0,$L20
	b	$L19
$L20:
	lw	$3,64($fp)
	li	$2,4			# 0x4
	bne	$3,$2,$L23
	lb	$3,28($fp)
	li	$2,32			# 0x20
	bne	$3,$2,$L23
	b	$L22
$L23:
	lw	$2,24($fp)
	addu	$2,$2,1
	sw	$2,24($fp)
	lw	$3,60($fp)
	lw	$2,24($fp)
	addu	$2,$2,1
	lw	$4,0($3)
	move	$5,$2
	la	$25,realloc
	jal	$31,$25
	sw	$2,32($fp)
	lw	$2,32($fp)
	beq	$2,$0,$L24
	lw	$3,60($fp)
	lw	$2,32($fp)
	sw	$2,0($3)
	lw	$2,60($fp)
	lw	$3,0($2)
	lw	$2,24($fp)
	addu	$2,$3,$2
	addu	$3,$2,-1
	lbu	$2,28($fp)
	sb	$2,0($3)
	lw	$2,60($fp)
	lw	$3,0($2)
	lw	$2,24($fp)
	addu	$2,$3,$2
	sb	$0,0($2)
	b	$L25
$L24:
	lw	$2,60($fp)
	lw	$4,0($2)
	la	$25,free
	jal	$31,$25
	la	$4,$LC0
	la	$25,printf
	jal	$31,$25
	li	$4,-1			# 0xffffffffffffffff
	la	$25,exit
	jal	$31,$25
$L25:
	lw	$2,24($fp)
	lw	$3,64($fp)
	slt	$2,$2,$3
	beq	$2,$0,$L18
	lw	$4,56($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,28($fp)
	b	$L18
$L22:
	lw	$4,56($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,28($fp)
	b	$L18
$L19:
	lw	$2,24($fp)
	bne	$2,$0,$L28
	li	$2,-1			# 0xffffffffffffffff
	sw	$2,36($fp)
	b	$L17
$L28:
	lw	$2,24($fp)
	sw	$2,36($fp)
$L17:
	lw	$2,36($fp)
	move	$sp,$fp
	lw	$31,48($sp)
	lw	$fp,44($sp)
	addu	$sp,$sp,56
	j	$31
	.end	readQuantity
	.size	readQuantity, .-readQuantity
	.rdata
	.align	2
$LC1:
	.ascii	"rb\000"
	.align	2
$LC2:
	.ascii	"wb\000"
	.text
	.align	2
	.globl	abrirArchivos
	.ent	abrirArchivos
abrirArchivos:
	.frame	$fp,48,$31		# vars= 8, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,48
	.cprestore 16
	sw	$31,40($sp)
	sw	$fp,36($sp)
	sw	$28,32($sp)
	move	$fp,$sp
	sw	$4,48($fp)
	sw	$5,52($fp)
	sw	$6,56($fp)
	sw	$7,60($fp)
	lw	$4,56($fp)
	lw	$5,64($fp)
	la	$6,__sF
	la	$7,$LC1
	la	$25,openFile
	jal	$31,$25
	beq	$2,$0,$L30
	li	$2,-1			# 0xffffffffffffffff
	sw	$2,24($fp)
	b	$L29
$L30:
	lw	$4,60($fp)
	lw	$5,68($fp)
	la	$6,__sF+88
	la	$7,$LC2
	la	$25,openFile
	jal	$31,$25
	beq	$2,$0,$L31
	li	$2,-1			# 0xffffffffffffffff
	sw	$2,24($fp)
	b	$L29
$L31:
	sw	$0,24($fp)
$L29:
	lw	$2,24($fp)
	move	$sp,$fp
	lw	$31,40($sp)
	lw	$fp,36($sp)
	addu	$sp,$sp,48
	j	$31
	.end	abrirArchivos
	.size	abrirArchivos, .-abrirArchivos
	.rdata
	.align	2
$LC3:
	.ascii	"Error con los archivos pasados como argumento\n\000"
	.text
	.align	2
	.globl	openFile
	.ent	openFile
openFile:
	.frame	$fp,48,$31		# vars= 8, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,48
	.cprestore 16
	sw	$31,40($sp)
	sw	$fp,36($sp)
	sw	$28,32($sp)
	move	$fp,$sp
	sw	$4,48($fp)
	sw	$5,52($fp)
	sw	$6,56($fp)
	sw	$7,60($fp)
	lw	$2,52($fp)
	bne	$2,$0,$L33
	lw	$3,48($fp)
	lw	$2,56($fp)
	sw	$2,0($3)
	b	$L34
$L33:
	lw	$4,52($fp)
	lw	$5,60($fp)
	la	$25,fopen
	jal	$31,$25
	move	$3,$2
	lw	$2,48($fp)
	sw	$3,0($2)
	sw	$0,52($fp)
	lw	$2,48($fp)
	lw	$2,0($2)
	bne	$2,$0,$L34
	la	$4,$LC3
	la	$25,printf
	jal	$31,$25
	li	$2,-1			# 0xffffffffffffffff
	sw	$2,24($fp)
	b	$L32
$L34:
	sw	$0,24($fp)
$L32:
	lw	$2,24($fp)
	move	$sp,$fp
	lw	$31,40($sp)
	lw	$fp,36($sp)
	addu	$sp,$sp,48
	j	$31
	.end	openFile
	.size	openFile, .-openFile
	.ident	"GCC: (GNU) 3.3.3 (NetBSD nb3 20040520)"
